function rollcallPupil($item) {
	var selectedroom = $('#selectedroom').val();
	var date = $("#date").val();
	$.getJSON('/~Marc/kivaou/ajax/roll_call', {
		'room': selectedroom,
		'pupil_id': $item.attr('pupil_id'),
		'date': date,
		'status':true
	}, function(result) {
		console.log(result);
	});
}